package ar.edu.utn.frba.dds.opendesigners.user;

import ar.edu.utn.frba.dds.opendesigners.RouteOption;
import ar.edu.utn.frba.dds.opendesigners.SearchResponse;
import ar.edu.utn.frba.dds.opendesigners.SearchParam;
import ar.edu.utn.frba.dds.opendesigners.TravelAgent;

public class Vip implements SubscriptionType {
	public TravelAgent travelAgent;
	
	public Vip(TravelAgent travelAgent) {
		this.travelAgent = travelAgent;
	}
	
	@Override
	public SearchResponse search(SearchParam searchParam) {
		return this.travelAgent.search( searchParam ); 
	}

	@Override
	public void buy(RouteOption option){
		this.travelAgent.buy(option);
	}
	
}
